package com.zlp.enums.resource;

import lombok.Getter;

/**
 * 跳转类型 (10:商品;20:文章;30:活动;40:链接)
 * @author ZouLiPing
 * @date 2022/8/17 10:27
 */
@Getter
public enum JumpTypeEnum {

    JUMP_PRODUCT("商品",10),
    JUMP_ARTICLE("文章",20),
    JUMP_ACTIVITY("活动",30),
    JUMP_LINK("链接",40)
    ;
    private String name;
    private Integer code;


    JumpTypeEnum(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

}